<%@ page language="java" import="java.util.*" pageEncoding="UTF-8"%>
<%@ taglib prefix="s" uri="/struts-tags"%>
<%
	String path = request.getContextPath();
	String basePath = request.getScheme() + "://" + request.getServerName() + ":" + request.getServerPort()
			+ path + "/";
%>

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN">
<html>

	<head>
		<base href="<%=basePath%>">

		<title>显示试题答案</title>

		<meta http-equiv="pragma" content="no-cache">
		<meta http-equiv="cache-control" content="no-cache">
		<meta http-equiv="expires" content="0">
		<link rel="stylesheet" href="css/font-awesome/css/font-awesome.css" />
		<link rel="stylesheet" href="css/common.css" />
		<link rel="stylesheet" href="css/contenRight.css" />
		<link rel="stylesheet" href="css/responsive.css" />
		<script type="text/javascript" src="js/jquery.min.js"></script>
		<script type="text/javascript" src="js/index.js"></script>
		<script type="text/javascript" src="js/app.js"></script>
		<link rel="stylesheet" href="css/pulg/jquery-ui/jquery-ui.min.css" />
		<script type="text/javascript" src="css/pulg/jquery-ui/jquery-ui.min.js"></script>

	</head>

	<body style="overflow:-Scroll;overflow-x:hidden;">
		<div class="list-page">
			<div class="list-page-content">
				<div class="taskTabs">
					<ul class="taskOptions">
						<li>
							<a class="btnlist tabs selected" href="#overtime0" id="taskList">
								<i class="icon-user"></i> 考试结果
							</a>
						</li>

					</ul>
					<div class="clear"></div>
					<div id="overtime0" class="task" data-pattern="priority-cloumns" style="display: none;">
						<div class="editPage">
							<div class="editPages">
								<div class="editPageTitle">
									<p class="titleLeft">
										<i class="icon-list-alt"></i>
										<span>考试结果</span>
									</p>
									<div class="clear"></div>
								</div>

								<div class="editPageInfo" style="display: block;">

									<table width="100%" border="0" align="center" cellpadding="0" cellspacing="10">
										<tr>
											<td>
												<div align="center">
													交卷时间：<s:date name="#session.studentInfo.time" format="yyyy/MM/dd HH:mm:ss"/>
				
												</div>
											</td>
											<td>
												<div align="center">
													考生：${sessionScope.studentInfo.studentName}
												</div>
											</td>
											<td>
												<div align="center">
													得分 ：${sessionScope.studentInfo.result }分
												</div>
											</td>
										</tr>
										<tr>
											<td>
												&nbsp;
											</td>
											<td></td>
											<td>
												&nbsp;
											</td>
										</tr>
										<tr>
											<td colspan="3" bgcolor="#999999" class="STYLE4">
												选择题(每小题5分，共20个)
											</td>
										</tr>
										<!--题目开始-->
										<s:iterator value="#request.subjects1" var="subject" status="sta">
											<tr>
												<input type="hidden" name="subjectID" value="${subject.subjectID}" />
												<td colspan="3">
												
													<strong>第${sta.index + 1}题&nbsp;${subject.subjectTitle}</strong>
												</td>
											</tr>
											<tr>
												<td colspan="3">
													<strong>A．</strong>${subject.subjectOptionA}
												</td>
											</tr>
											<tr>
												<td colspan="3">
													<strong>B．</strong>${subject.subjectOptionB}
												</td>
											</tr>
											<tr>
												<td colspan="3">
													<strong>C．</strong>${subject.subjectOptionC}
												</td>
											</tr>
											<tr>
												<td colspan="3">
													<strong>D．</strong>${subject.subjectOptionD}
												</td>
											</tr>
											<tr>
												<td height="32" colspan="3" bgcolor="#CCCCCC">
													<strong>【您的答案】：${subject.subjectMyAnswer}</strong>
													<br />
													<strong>【正确答案】：${subject.subjectAnswer}</strong>
													<br />
													<strong>【参考解析】：${subject.subjectParse}</strong>
											</tr>
										</s:iterator>
										<!--题目结束-->
										<tr>
												<td colspan="3">
													<div align="center">
														<input type="button" value="返回 "  />
													</div>
												</td>
											</tr>
									</table>
								</div>
							</div>
						</div>
					</div>
				</div>
			</div>
		</div>
	</body>

</html>